package year2020.month03456;

import java.util.*;

public class ListTest {

    public static void main(String[] args){
        /*List<String> idList = new ArrayList<>();
        for(String id : idList){
            if (id==null){
                idList.remove(id);
            }
        }

        new ArrayList<>();
        new LinkedList<>();
        new HashMap<>();*/

        Random r = new Random();

        for (int i=80; i<100; i++){
            String k = String.valueOf(31*i*r.nextInt(100));

            int h = k.hashCode();
            int val = h ^ ( h >> 16);

            System.out.print(k+"\t");
            System.out.print(h+"\t");
            System.out.print(val+"\t");
            System.out.print((15 & val)+"\t");
            System.out.print((31 & val)+"\t");
            System.out.print((63 & val)+"\t");
            System.out.println((127 & val)+"\t");
        }

    }

}
